#include <linux/init.h> /* Needed for the macros */
#include <linux/kernel.h> /* Needed for pr_info() */
#include <linux/module.h> /* Needed by all modules */

int  hi(void){
	pr_info("hi\n");
	return 1024;
}

EXPORT_SYMBOL(hi);

static int __init foo_init(void)
{
	pr_info("init my_i2c_driver\n");
	return  0;
}

static void __exit foo_cleanup(void)
{

}

module_init(foo_init);
module_exit(foo_cleanup);

MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Andy");
MODULE_DESCRIPTION("andy one-key driver");
MODULE_ALIAS("one-key");
